﻿<%@ Page Language="C#" MasterPageFile="~/Police/Police.master" AutoEventWireup="true"
    CodeFile="SoldierView.aspx.cs" Inherits="BasicBase_SoldierArchive_SoldierView"
    StylesheetTheme="Content" Title="无标题页" %>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table border="0px" cellpadding="0" cellspacing="0" class="dialog" width="100%">
        <caption>
            <span>士兵详细信息</span></caption>
        <tr>
            <td>
                <table border="0" cellpadding="4" cellspacing="0" width="100%">
                    <tr>
                        <td style="width: 75px">
                            姓名：
                        </td>
                        <td>
                            <asp:Label ID="SoldierName" runat="server" CssClass="labelBlod"></asp:Label>
                        </td>
                        <td class="style3">
                            士兵证号：
                        </td>
                        <td>
                            <asp:Label ID="CardID" runat="server" CssClass="labelBlod"></asp:Label>
                        </td>
                        <td rowspan="9" align="right">
                            <asp:Image ID="imgPhoto" runat="server" Width="160" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            民族：
                        </td>
                        <td>
                            <asp:Label ID="NationName" runat="server" CssClass="labelBlod"></asp:Label>
                        </td>
                        <td class="style3">
                            性别：
                        </td>
                        <td>
                            <asp:Label ID="Sex" runat="server" CssClass="labelBlod"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            出生日期：
                        </td>
                        <td>
                            <asp:Label ID="Birthday" runat="server" CssClass="labelBlod"></asp:Label>
                        </td>
                        <td class="style3">
                            籍贯：
                        </td>
                        <td>
                            <asp:Label ID="NativeName" runat="server" CssClass="labelBlod"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            家庭出身：
                        </td>
                        <td>
                            <asp:Label ID="BackgroundName" runat="server"></asp:Label>
                        </td>
                        <td class="style3">
                            婚姻状况：
                        </td>
                        <td>
                            <asp:Label ID="Marriage" runat="server" CssClass="labelBlod"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            文化程度：
                        </td>
                        <td>
                            <asp:Label ID="CultureName" runat="server" CssClass="labelBlod"></asp:Label>
                        </td>
                        <td class="style3">
                            宗教信仰：
                        </td>
                        <td>
                            <asp:Label ID="ReligionName" runat="server" CssClass="labelBlod"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            政治面貌：</td>
                        <td>
                            <asp:Label ID="Political" runat="server" CssClass="labelBlod"></asp:Label>
                        </td>
                        <td class="style3">
                            兴趣爱好：</td>
                        <td>
                            <asp:Label ID="Hobby" runat="server" CssClass="labelBlod"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            入伍时间：
                        </td>
                        <td>
                            <asp:Label ID="JoinDate" runat="server" CssClass="labelBlod"></asp:Label>
                        </td>
                        <td class="style3">
                            入团时间：
                        </td>
                        <td>
                            <asp:Label ID="YouthDate" runat="server" CssClass="labelBlod"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            入党时间：
                        </td>
                        <td>
                            <asp:Label ID="PartyDate" runat="server" CssClass="labelBlod"></asp:Label>
                        </td>
                        <td class="style3">
                            警衔：
                        </td>
                        <td>
                            <asp:Label ID="RankName" runat="server" CssClass="labelBlod"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            职务：
                        </td>
                        <td>
                            <asp:Label ID="DutyName" runat="server" CssClass="labelBlod"></asp:Label>
                        </td>
                        <td class="style3">
                            专业一：
                        </td>
                        <td>
                            <asp:Label ID="Speciality1Name" runat="server" CssClass="labelBlod"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            专业二：
                        </td>
                        <td>
                            <asp:Label ID="Speciality2Name" runat="server" CssClass="labelBlod"></asp:Label>
                        </td>
                        <td class="style3">
                            入伍所在地：
                        </td>
                        <td>
                            <asp:Label ID="JoinPlace" runat="server" CssClass="labelBlod"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            入伍批准书编号：
                        </td>
                        <td>
                            <asp:Label ID="ConfirmID" runat="server" CssClass="labelBlod"></asp:Label>
                        </td>
                        <td class="style3">
                            士兵登记表编号：
                        </td>
                        <td>
                            <asp:Label ID="RegisterID" runat="server" CssClass="labelBlod"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            士官选取表编号：
                        </td>
                        <td>
                            <asp:Label ID="ChooseID" runat="server" CssClass="labelBlod"></asp:Label>
                        </td>
                        <td class="style3">
                            身高：
                        </td>
                        <td>
                            <asp:Label ID="Height" runat="server" CssClass="labelBlod"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            体重：
                        </td>
                        <td>
                            <asp:Label ID="Weight" runat="server" CssClass="labelBlod"></asp:Label>
                        </td>
                        <td class="style3">
                            更新人：
                        </td>
                        <td>
                            <asp:Label ID="SetUserName" runat="server" CssClass="labelBlod"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            单位：
                        </td>
                        <td>
                            <asp:Label ID="DepartmentName" runat="server" CssClass="labelBlod"></asp:Label>
                        </td>
                        <td class="style3">
                            更新时间：
                        </td>
                        <td>
                            <asp:Label ID="SetTime" runat="server" CssClass="labelBlod"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            家庭住址：
                        </td>
                        <td>
                            <asp:Label ID="HomePlace" runat="server" CssClass="labelBlod"></asp:Label>
                        </td>
                        <td class="style3">
                            &nbsp;
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <asp:Label ID="lblDelete" runat="server" Text="该用户已删除。" Visible="false" ForeColor="Red"></asp:Label>
    <asp:Label ID="lblTitle" runat="server"></asp:Label>
    <asp:Button ID="btnRestore" runat="server" Text="恢复" Visible="false" OnClick="btnRestore_Click" />
    <asp:GridView ID="gvTransfer" runat="server" AutoGenerateColumns="False" Caption="<span>调动记录</span>"
        DataKeyNames="TransferID,ToUnitID" 
        OnRowDataBound="gvTransfer_RowDataBound">
        <Columns>
            <asp:TemplateField ItemStyle-HorizontalAlign="Left">
                <HeaderStyle Width="30px" HorizontalAlign="Center" />
                <ItemStyle HorizontalAlign="Center" />
                <ItemTemplate>
                    <asp:Label ID="ID" runat="server" ForeColor="#666666"></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="FromUnit" HeaderText="调出单位" />
            <asp:BoundField DataField="ToUnit" HeaderText="调入单位" />
            <asp:BoundField DataField="TransferDate" DataFormatString="{0:yy-MM-dd}" HeaderText="调动时间" />
           
            <asp:BoundField DataField="SetUserName" HeaderText="操作员" />
            <asp:BoundField DataField="SetTime" DataFormatString="{0:yy-MM-dd}" HeaderText="操作时间" />
            <%--<asp:TemplateField ShowHeader="False" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center">
                        <ItemTemplate>
                            <asp:ImageButton ID="delteImage" ToolTip="删除" ImageUrl="~/Images/delete.gif" OnClientClick="return confirm('您确认删除此调动记录吗？')"
                                CommandName="Delete" runat="server" CausesValidation="false" />
                        </ItemTemplate>
                    </asp:TemplateField>--%>
        </Columns>
        <HeaderStyle HorizontalAlign="Left" />
        <RowStyle HorizontalAlign="Left" />
    </asp:GridView>
</asp:Content>
<asp:Content ID="Content3" runat="server" ContentPlaceHolderID="head">
    <style type="text/css">
        .style3
        {
            width: 97px;
            background-image: url('../Images/Grid_item.gif');
            background-repeat: repeat-x;
            background-position: top;
        }
    </style>
</asp:Content>
